package com.zygh.lz.entity.app;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "AppDriverPicture对象", description = "")
public class AppDriverPicture implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "拖车编号")
    private String code;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "经度：例如：113.68405414325689")
    private String longitude;

    @ApiModelProperty(value = "纬度：例如：34.80816417305106")
    private String latitude;

    @ApiModelProperty(value = "第几张照片0：现场  1：上车  2：到地方")
    @TableField("`order`")
    private Integer order;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creatTime;


}
